package com.wp.maventool;

import java.util.PropertyResourceBundle;
import java.util.ResourceBundle;

/**
 * 读取properties
 * @author wp
 *
 */
public class PropertyHelper {
	private ResourceBundle propBundle;
	
	public PropertyHelper(String bundle) {
		propBundle=PropertyResourceBundle.getBundle(bundle);
	}
	
	public String getValue(String key){
		return this.propBundle.getString(key);
	}
}
